← Back to issue list

snapcraft remote-build core20 armhf openssl error

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2064639
Type
issue
State
open
Author
~gbeuzeboc
Labels
Created
2024-05-02 13:53:15.388652+00:00
Updated
2024-05-02 19:27:59.921653+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

snapcraft 8.2.1 command: snapcraft remote-build error: from snapcraft_legacy.sources import get ... RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration. to reproduce: snapcraft.yaml name: test-snap version: '0.1' summary: sd description: | test grade: stable confinement: strict base: core20 architectures: - build-on: armhf parts: variant: plugin: nil source: . build-packages: [tmux] complete error log: error: cannot perform the following tasks: - Run configure hook of "snapcraft" snap if present (run hook "configure": ----- Traceback (most recent call last): File "/snap/snapcraft/11475/snap/hooks/configure", line 7, in <module> from snapcraft.snap_config import SnapConfig File "/snap/snapcraft/current/lib/python3.10/site-packages/snapcraft/__init__.py", line 23, in <module> import snapcraft.sources # noqa: F401 File "/snap/snapcraft/current/lib/python3.10/site-packages/snapcraft/sources.py", line 22, in <module> from snapcraft_legacy.sources import get File "/snap/snapcraft/current/lib/python3.10/site-packages/snapcraft_legacy/__init__.py", line 352, in <module> from snapcraft_legacy._store import ( # noqa File "/snap/snapcraft/current/lib/python3.10/site-packages/snapcraft_legacy/_store.py", line 30, in <module> import craft_store File "/snap/snapcraft/current/lib/python3.10/site-packages/craft_store/__init__.py", line 23, in <module> from .auth import Auth File "/snap/snapcraft/current/lib/python3.10/site-packages/craft_store/auth.py", line 33, in <module> from keyring.backends import SecretService File "/snap/snapcraft/current/lib/python3.10/site-packages/keyring/backends/SecretService.py", line 16, in <module> import secretstorage File "/snap/snapcraft/current/lib/python3.10/site-packages/secretstorage/__init__.py", line 13, in <module> from secretstorage.collection import Collection, create_collection, \ File "/snap/snapcraft/current/lib/python3.10/site-packages/secretstorage/collection.py", line 24, in <module> from secretstorage.item import Item File "/snap/snapcraft/current/lib/python3.10/site-packages/secretstorage/item.py", line 17, in <module> from secretstorage.util import DBusAddressWrapper, \ File "/snap/snapcraft/current/lib/python3.10/site-packages/secretstorage/util.py", line 23, in <module> from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes File "/snap/snapcraft/current/lib/python3.10/site-packages/cryptography/hazmat/primitives/ciphers/__init__.py", line 11, in <module> from cryptography.hazmat.primitives.ciphers.base import ( File "/snap/snapcraft/current/lib/python3.10/site-packages/cryptography/hazmat/primitives/ciphers/base.py", line 10, in <module> from cryptography.exceptions import ( File "/snap/snapcraft/current/lib/python3.10/site-packages/cryptography/exceptions.py", line 9, in <module> from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration. -----) Install failed Traceback (most recent call last): File "/usr/lib/python3/dist-packages/lpbuildd/target/build_snap.py", line 301, in run self.install() File "/usr/lib/python3/dist-packages/lpbuildd/target/build_snap.py", line 199, in install self.backend.run( File "/usr/lib/python3/dist-packages/lpbuildd/target/lxd.py", line 718, in run subprocess.check_call(cmd, **kwargs) File "/usr/lib/python3.8/subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd)

Evaluation history

No evaluation history available.